//
//  XLNetWorkManager.h
//  SSReader
//
//  Created by xundu on 2019/6/27.
//  Copyright © 2019 SS_soft. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "AFNetworking.h"

NS_ASSUME_NONNULL_BEGIN
@interface XLNetWorkManager : NSObject
@property (nonatomic,strong) NSString *currentNetStatus;

+ (instancetype)shareInstance;

- (NSURLSessionDataTask *)POSTBody:(NSString *)finalURL withContentType:(NSString *)ContentTypeStr parameters:(id)parameters success:(void (^)(id _Nonnull responseObject))success failure:(void (^)(NSError * _Nonnull error))failure;

- (NSURLSessionDataTask *)GET:(NSString *)url parameters:(id)parameters modelType:(Class)model success:(void (^)(NSInteger, NSString * _Nonnull, id _Nonnull))success failure:(void (^)(NSError * _Nonnull))failure;

- (void)extracted:(void (^ _Nonnull)(NSError * _Nonnull))failure model:(__unsafe_unretained Class _Nonnull)model parameters:(id _Nonnull)parameters success:(void (^ _Nonnull)(NSInteger, NSString * _Nonnull, id _Nonnull))success urlApi:(NSString *)urlApi;



/**
 *  发送get请求
 */
- (NSURLSessionDataTask *)GET:(NSString *)url
                   parameters:(id)parameters
          httpHeaderKeyValues:(NSDictionary *)header
                     progress:(void (^)(NSProgress *downloadProgress))downloadProgressBlock
                      success:(void (^)(id responseObject))success
                      failure:(void (^)(NSError *error))failure;

- (NSURLSessionDataTask *)GET:(NSString *)url
                   parameters:(id)parameters
                     progress:(void (^)(NSProgress *downloadProgress))downloadProgressBlock
                      success:(void (^)(id responseObject))success
                      failure:(void (^)(NSError *error))failure;




/**
 *  发送post请求
 */
- (NSURLSessionDataTask *)POST:(NSString *)url
                    parameters:(id)parameters
                       success:(void (^)(id responseObject))success
                       failure:(void (^)(NSError *error))failure;

- (NSURLSessionDataTask *)POST:(NSString *)url
                    parameters:(id)parameters
                     modelType:(Class)modelType
                       success:(void (^)(id _Nonnull))success
                       failure:(void (^)(NSError * _Nonnull))failure;


/**
 *  上传文件
 */
- (NSURLSessionDataTask *)upload:(NSString *)url
                      parameters:(id)parameters
             httpHeaderKeyValues:(NSDictionary *)header
       constructingBodyWithBlock:(void (^)(id <AFMultipartFormData> formData))formDataBlock
                         success:(void (^)(id responseObject))success
                         failure:(void (^)(NSError *error))failure;



- (NSURLSessionDataTask *)upload:(NSString *)url
                      parameters:(id)parameters
       constructingBodyWithBlock:(void (^)(id <AFMultipartFormData> formData))formDataBlock
                         success:(void (^)(id responseObject))success
                         failure:(void (^)(NSError *error))failure;




/**
 *  下载
 */
- (NSURLSessionDownloadTask *)download:(NSString *)url
                            parameters:(id)parameters
                   httpHeaderKeyValues:(NSDictionary *)header
                              progress:(void (^)(NSProgress *downloadProgress))downloadProgressBlock
                           destination:(NSURL * (^)(NSURL *targetPath, NSURLResponse *response))destination
                     completionHandler:(void (^)(NSURLResponse *response, NSURL *filePath, NSError *error))completionHandler ;

- (NSURLSessionDownloadTask *)download:(NSString *)url
                            parameters:(id)parameters
                              progress:(void (^)(NSProgress *downloadProgress))downloadProgressBlock
                           destination:(NSURL * (^)(NSURL *targetPath, NSURLResponse *response))destination
                     completionHandler:(void (^)(NSURLResponse *response, NSURL *filePath, NSError *error))completionHandler;

- (NSURLSessionDataTask *)upload:(NSString *)url
                            port:(NSString *)portStr
                      parameters:(id)parameters
       constructingBodyWithBlock:(void (^)(id <AFMultipartFormData> formData))formDataBlock
                         success:(void (^)(id responseObject))success
                         failure:(void (^)(NSError *error))failure;


/**
 *  上传文件
 */
- (NSURLSessionDataTask *)upload:(NSString *)url
                            port:(NSString *)portStr
                      parameters:(id)parameters
             httpHeaderKeyValues:(NSDictionary *)header
       constructingBodyWithBlock:(void (^)(id <AFMultipartFormData> formData))formDataBlock
                         success:(void (^)(id responseObject))success
                         failure:(void (^)(NSError *error))failure;



/**
 *  发送Put请求
 */
- (void)PutContentUrl:(NSString *)url
       parameters:(id)parameters
          success:(void (^)(id responseObject))success
              failure:(void (^)(NSError *error))failure;


#pragma mark - 统一获取验证码
- (NSURLSessionDataTask *)POSTBodyYanZhengCodeLogin:(NSString *)url parameters:(id)parameters success:(void (^)(id _Nonnull))success failure:(void (^)(NSError * _Nonnull))failure;

-(void)successHandling:(NSDictionary*)resDic requestUrl:(NSString*)urlStr;

- (void)appRootJumpLoginViewController:(NSInteger)statuCodelNum;
// statuCodelNum 401 token过期
- (void)appRootJumpLoginViewControllerWithStatuCodeNumber:(NSInteger)statuCodelNum;

- (void)cancelAllOperations;

- (void)createUserTempData;







//- (NSURLSessionDataTask *)GET:(NSString *)url
//                        parameters:(id)parameters
//                    modelType:(Class)model
//                      success:(void (^)(NSInteger code,NSString *msg,id modleData))success
//                      failure:(void (^)(NSError *error))failure;
//
///**
// *  发送get请求
// *
// *  @param url                      请求路径
// *  @param parameters               请求参数
// *  @param header                   请求头Header
// *  @param downloadProgressBlock    网络请求进度
// *  @param success                  请求成功后的回调,参数为id类型
// *  @param failure                  请求失败后的回调
// */
//- (void)GET:(NSString *)url
//                   parameters:(id)parameters
//          httpHeaderKeyValues:(NSDictionary *)header
//                     progress:(void (^)(NSProgress *downloadProgress))downloadProgressBlock
//                      success:(void (^)(id responseObject))success
//                      failure:(void (^)(NSError *error))failure;
//
//- (void)GET:(NSString *)url
//                   parameters:(id)parameters
//                     progress:(void (^)(NSProgress *downloadProgress))downloadProgressBlock
//                      success:(void (^)(id responseObject))success
//                      failure:(void (^)(NSError *error))failure;
//
//
///**
// *  上传文件
// *
// *  @param url              请求路径
// *  @param parameters       请求参数
// *  @param header           请求头Header
// *  @param formDataBlock    上传文件的信息
// *  @param success          请求成功后的回调,参数为id类型
// *  @param failure          请求失败后的回调
// */
//- (NSURLSessionDataTask *)upload:(NSString *)url
//                      parameters:(id)parameters
//             httpHeaderKeyValues:(NSDictionary *)header
//       constructingBodyWithBlock:(void (^)(id <AFMultipartFormData> formData))formDataBlock
//                         success:(void (^)(id responseObject))success
//                         failure:(void (^)(NSError *error))failure;
//
//- (NSURLSessionDataTask *)upload:(NSString *)url
//                      parameters:(id)parameters
//       constructingBodyWithBlock:(void (^)(id <AFMultipartFormData> formData))formDataBlock
//                         success:(void (^)(id responseObject))success
//                         failure:(void (^)(NSError *error))failure;
//
//
///**
// *  下载
// *
// *  @param url                      请求路径
// *  @param parameters               请求参数
// *  @param header                   请求头Header
// *  @param downloadProgressBlock    下载进度
// *  @param destination              请求成功后的回调,参数为id类型
// *  @param completionHandler        请求失败后的回调
// */
//- (NSURLSessionDownloadTask *)download:(NSString *)url
//                            parameters:(id)parameters
//                   httpHeaderKeyValues:(NSDictionary *)header
//                              progress:(void (^)(NSProgress *downloadProgress))downloadProgressBlock
//                           destination:(NSURL * (^)(NSURL *targetPath, NSURLResponse *response))destination
//                     completionHandler:(void (^)(NSURLResponse *response, NSURL *filePath, NSError *error))completionHandler;
//
//- (NSURLSessionDownloadTask *)download:(NSString *)url
//                            parameters:(id)parameters
//                              progress:(void (^)(NSProgress *downloadProgress))downloadProgressBlock
//                           destination:(NSURL * (^)(NSURL *targetPath, NSURLResponse *response))destination
//                     completionHandler:(void (^)(NSURLResponse *response, NSURL *filePath, NSError *error))completionHandler;
//
//
//- (NSURLSessionDataTask *)POST:(NSString *)url
//                    parameters:(id)parameters
//                     modelType:(Class)modelType
//                       success:(void (^)(id responseObject))success
//                       failure:(void (^)(NSError *error))failure;
//
//
//- (NSURLSessionDataTask *)POSTBody:(NSString *)url
//                        parameters:(id)parameters
//                           success:(void (^)(id responseObject))success
//                           failure:(void (^)(NSError *error))failure;
//
//- (void)requestDELETEWithFullURLStr:(NSString *)finalURL paramDic:(NSDictionary *)paramDic Api_port:(NSString *)portStr finish:(void(^)(id responseObject))finish enError:(void(^)(NSError *error))enError;
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//- (NSURLSessionDataTask *)GETBody:(NSString *)url withrequestSerializerContentType:(NSString *)requestSerializerContentType parameters:(id)parameters success:(void (^)(id _Nonnull sucee))success failure:(void (^)(NSError * _Nonnull err))failure;
//
//- (NSURLSessionDataTask *)GETBody:(NSString *)url port:(NSString *)portStr withrequestSerializerContentType:(NSString *)requestSerializerContentType parameters:(id)parameters success:(void (^)(id _Nonnull sucee))success failure:(void (^)(NSError * _Nonnull err))failure;
//
//- (NSURLSessionDataTask *)GETBody:(NSString *)url withrequestSerializerContentType:(NSString *)requestSerializerContentType port:(NSString *)portStr parameters:(id)parameters success:(void (^)(id _Nonnull sucee))success failure:(void (^)(NSError * _Nonnull err))failure;
//
//- (NSURLSessionDataTask *)GETUrlencoded:(NSString *)url withrequestSerializerContentType:(NSString *)requestSerializerContentType port:(NSString *)portStr parameters:(id)parameters success:(void (^)(id _Nonnull sucee))success failure:(void (^)(NSError * _Nonnull err))failure;
//
//- (NSURLSessionDataTask *)GET2:(NSString *)url withrequestSerializerContentType:(NSString *)requestSerializerContentType port:(NSString *)portStr parameters:(id)parameters success:(void (^)(id _Nonnull sucee))success failure:(void (^)(NSError * _Nonnull err))failure;
//
//
#pragma mark 成语获取用户信息
- (NSURLSessionDataTask *)GETBodyCYUserInfo:(NSString *)url port:(NSString *)portStr withrequestSerializerContentType:(NSString *)requestSerializerContentType parameters:(id)parameters success:(void (^)(id _Nonnull sucee))success failure:(void (^)(NSError * _Nonnull err))failure;
//
//#pragma mark 获取推荐列表数据
//- (NSURLSessionDataTask *)GETBodyTuiJian:(NSString *)url withrequestSerializerContentType:(NSString *)requestSerializerContentType parameters:(id)parameters success:(void (^)(id _Nonnull sucee))success failure:(void (^)(NSError * _Nonnull err))failure;
//
//
//#pragma mark 语境库设置选中
//- (NSURLSessionDataTask *)GETBodySetSelect:(NSString *)url withrequestSerializerContentType:(NSString *)requestSerializerContentType parameters:(id)parameters success:(void (^)(id _Nonnull sucee))success failure:(void (^)(NSError * _Nonnull err))failure;
//
//
- (NSURLSessionDataTask *)GETBodyFullUrl:(NSString *)finalURL withrequestSerializerContentType:(NSString *)requestSerializerContentType parameters:(id)parameters success:(void (^)(id _Nonnull sucee))success failure:(void (^)(NSError * _Nonnull err))failure;
//
//
//- (void)GETBodyForDataFullUrl:(NSString *)finalURL withrequestSerializerContentType:(NSString *)requestSerializerContentType parameters:(id)parameters  withMimeType:(NSString *)mimeTypeStr progress:(nullable void (^)(NSProgress * _Nonnull))uploadProgre success:(void (^)(id _Nonnull sucee))success failure:(void (^)(NSError * _Nonnull err))failure;
//
//
//
//
//
//
//- (void)uploadHeadImage:(UIImage *)image usrId:(NSString *)usrId onSuccess:(void (^)(NSDictionary *dict))onSuccess onFailure:(void(^)(NSError *error))onFailure;
//
//
//
//- (NSURLSessionDataTask *)upload:(NSString *)url
//                            port:(NSString *)portStr
//                      parameters:(id)parameters
//       constructingBodyWithBlock:(void (^)(id <AFMultipartFormData> formData))formDataBlock
//                         success:(void (^)(id responseObject))success
//                         failure:(void (^)(NSError *error))failure;
//
//
////- (void)uploadFileWithUrl:(NSString *)URLStr Port:(NSString *)portStr withrequestSerializerContentType:(NSString *)requestSerializerContentType  withFileData:(NSData *)fData withFileName:(NSString *)fileNameStr withMimeType:(NSString *)mimeTypeStr withParame:(NSDictionary *)parameDict success:(void (^)(id _Nonnull responseObject))success progress:(nullable void (^)(NSProgress * _Nonnull))uploadProgre failure:(void (^)(NSError * _Nonnull error))failure;
//- (void)uploadFileWithUrl:(NSString *)URLStr Port:(NSString *)portStr withrequestSerializerContentType:(NSString *)requestSerializerContentType  withFileData:(NSData *)fData withFileName:(NSString *)fileNameStr withMimeType:(NSString *)mimeTypeStr withParame:(NSDictionary *)parameDict success:(void (^)(id _Nonnull responseObject))success progress:(nullable void (^)(NSProgress * _Nonnull))uploadProgre failure:(void (^)(NSError * _Nonnull error))failure;
//
//- (void)uploadImageWithUrl:(NSString *)URLStr  Port:(NSString *)portStr withrequestSerializerContentType:(NSString *)requestSerializerContentType  withImagesArray:(NSArray *)images withParame:(NSDictionary *)parameDict success:(void (^)(id _Nonnull responseObject))success progress:(nullable void (^)(NSProgress * _Nonnull))uploadProgre  failure:(void (^)(NSError * _Nonnull error))failure;
//
//
//
////MimeTyp
////超文本标记语言文本.html text/html
////
////xml文档.xml text/xml
////
////XHTML文档.xhtml application/xhtml+xml
////
////普通文本.txt text/plain
////
////RTF文本.rtf application/rtf
////
////PDF文档.pdf application/pdf
////
////Microsoft Word文件.word application/msword
////
////PNG图像.png image/png
////
////GIF图形.gif image/gif
////
////JPEG图形.jpeg,.jpg image/jpeg
////
////au声音文件.au audio/basic
////
////MIDI音乐文件mid,.midi audio/midi,audio/x-midi
////
////RealAudio音乐文件.ra, .ram audio/x-pn-realaudio
////
////MPEG文件.mpg,.mpeg video/mpeg
////
////AVI文件.avi video/x-msvideo
////
////GZIP文件.gz application/x-gzip
////
////TAR文件.tar application/x-tar
////
////任意的二进制数据application/octet-stream
//// 上传电子数据指纹数据 文件
//- (void)uploadElectroniDataFingerprintFileWithUrl:(NSString *)URLStr Port:(NSString *)portStr serverFileName:(NSString *)serverFileNameStr withrequestSerializerContentType:(NSString *)requestSerializerContentType  withFileData:(NSData *)fData withFileName:(NSString *)fileNameStr withMimeType:(NSString *)mimeTypeStr withParame:(NSDictionary *)parameDict success:(void (^)(id _Nonnull responseObject))success progress:(nullable void (^)(NSProgress * _Nonnull))uploadProgre failure:(void (^)(NSError * _Nonnull error))failure ;
//
//- (void)uploadFileWithUrl3:(NSString *)URLStr Port:(NSString *)portStr withrequestSerializerContentType:(NSString *)requestSerializerContentType  withFileData:(NSData *)fData withFileName:(NSString *)fileNameStr withMimeType:(NSString *)mimeTypeStr withParame:(NSDictionary *)parameDict success:(void (^)(id _Nonnull responseObject))success progress:(nullable void (^)(NSProgress * _Nonnull))uploadProgre failure:(void (^)(NSError * _Nonnull error))failure;
//
//
//- (void)uploadFileWithFullUrl:(NSString *)finalURL withrequestSerializerContentType:(NSString *)requestSerializerContentType  withFileData:(NSData *)fData withFileName:(NSString *)fileNameStr withMimeType:(NSString *)mimeTypeStr withParame:(NSDictionary *)parameDict success:(void (^)(id _Nonnull responseObject))success progress:(nullable void (^)(NSProgress * _Nonnull))uploadProgre failure:(void (^)(NSError * _Nonnull error))failure;
//
//- (void)uploadFileWithFullUrl:(NSString *)URLStr Port:(NSString *)portStr withrequestSerializerContentType:(NSString *)requestSerializerContentType  withFileData:(NSData *)fData withFileName:(NSString *)fileNameStr withMimeType:(NSString *)mimeTypeStr withParame:(NSDictionary *)parameDict success:(void (^)(id _Nonnull responseObject))success progress:(nullable void (^)(NSProgress * _Nonnull))uploadProgre failure:(void (^)(NSError * _Nonnull error))failure;
//
//- (void)uploadFileWithFullUrl3:(NSString *)finalURL Port:(NSString *)portStr withrequestSerializerContentType:(NSString *)requestSerializerContentType  withFileData:(NSData *)fData withFileName:(NSString *)fileNameStr withMimeType:(NSString *)mimeTypeStr withParame:(NSDictionary *)parameDict success:(void (^)(id _Nonnull responseObject))success progress:(nullable void (^)(NSProgress * _Nonnull))uploadProgre failure:(void (^)(NSError * _Nonnull error))failure;
//
- (NSURLSessionDataTask *)uploadFullUrl:(NSString *)url
                      parameters:(id)parameters
       constructingBodyWithBlock:(void (^)(id <AFMultipartFormData> formData))formDataBlock
                         success:(void (^)(id responseObject))success
                                failure:(void (^)(NSError *error))failure;

//- (void)uploadFileWithFullUrl:(NSString *)finalURL withServerFileName:(NSString *)serverFileName withrequestSerializerContentType:(NSString *)requestSerializerContentType  withFileData:(NSData *)fData withFileName:(NSString *)fileNameStr withMimeType:(NSString *)mimeTypeStr withParame:(NSDictionary *)parameDict success:(void (^)(id _Nonnull responseObject))success progress:(nullable void (^)(NSProgress * _Nonnull))uploadProgre failure:(void (^)(NSError * _Nonnull error))failure;
//
//
//
///**
// *  发送Put请求
// */
//- (void)PutContentUrl:(NSString *)url
//       parameters:(id)parameters
//          success:(void (^)(id responseObject))success
//              failure:(void (^)(NSError *error))failure;
//
///**
// *  发送Put请求
// */
- (void)PutContentUrl:(NSString *)url
                 Port:(NSString *)portStr
       parameters:(id)parameters
          success:(void (^)(id responseObject))success
              failure:(void (^)(NSError *error))failure;
//
//
- (NSURLSessionDataTask *)POSTBodyLoginRegister22:(NSString *)url withrequestSerializerContentType:(NSString *)requestSerializerContentType port:(NSString *)portStr parameters:(id)parametersDict success:(void (^)(id _Nonnull responseObject))success failure:(void (^)(NSError * _Nonnull error))failure;
//
//
//
///**
// *  发送post请求 book相关
// *
// *  @param url          请求路径
// *  @param parameters   请求参数
// *  @param success      请求成功后的回调,参数为id类型
// *  @param failure      请求失败后的回调
// */
//- (NSURLSessionDataTask *)POST:(NSString *)url
//                    parameters:(id)parameters
//                    success:(void (^)(id responseObject))success
//                       failure:(void (^)(NSError *error))failure;
//
//
//
//- (NSURLSessionDataTask *)POSTBody:(NSString *)url
//                        parameters:(id)parameters
//                         modelType:(Class)modelType
//                           success:(void (^)(id responseObject))success
//                           failure:(void (^)(NSError *error))failure;
//
//
//
//
//
//
///**
// *  发送post请求
// */
//- (void)POSTContentUrl:(NSString *)url
//         parameters:(id)parameters
//            success:(void (^)(id responseObject))success
//            failure:(void (^)(NSError *error))failure;
//
//
//- (NSURLSessionDataTask *)POSTBody:(NSString *)url withrequestSerializerContentType:(NSString *)requestSerializerContentType parameters:(id)parameters success:(void (^)(id _Nonnull responseObject))success failure:(void (^)(NSError * _Nonnull error))failure;
//
///////pc/toAdvertisement
////- (NSURLSessionDataTask *)POSTPurshaseBody:(NSString *)url parameters:(id)parameters success:(void (^)(id _Nonnull))success failure:(void (^)(NSError * _Nonnull))failure;
//
//
//
//- (NSURLSessionDataTask *)POSTBodyLogin:(NSString *)url withrequestSerializerContentType:(NSString *)requestSerializerContentType parameters:(id)parameters success:(void (^)(id _Nonnull responseObject))success failure:(void (^)(NSError * _Nonnull error))failure;
//
//
//
//- (NSURLSessionDataTask *)POSTBody:(NSString *)url port:(NSString *)portStr parameters:(id)parameters success:(void (^)(id _Nonnull))success failure:(void (^)(NSError * _Nonnull))failure;
//
- (NSURLSessionDataTask *)POSTBodyLoginRegister:(NSString *)url withrequestSerializerContentType:(NSString *)requestSerializerContentType port:(NSString *)portStr parameters:(id)parameters success:(void (^)(id _Nonnull responseObject))success failure:(void (^)(NSError * _Nonnull error))failure;
//
////MimeTyp
////超文本标记语言文本.html text/html
////
////xml文档.xml text/xml
////
////XHTML文档.xhtml application/xhtml+xml
////
////普通文本.txt text/plain
////
////RTF文本.rtf application/rtf
////
////PDF文档.pdf application/pdf
////
////Microsoft Word文件.word application/msword
////
////PNG图像.png image/png
////
////GIF图形.gif image/gif
////
////JPEG图形.jpeg,.jpg image/jpeg
////
////au声音文件.au audio/basic
////
////MIDI音乐文件mid,.midi audio/midi,audio/x-midi
////
////RealAudio音乐文件.ra, .ram audio/x-pn-realaudio
////
////MPEG文件.mpg,.mpeg video/mpeg
////
////AVI文件.avi video/x-msvideo
////
////GZIP文件.gz application/x-gzip
////
////TAR文件.tar application/x-tar
////
////任意的二进制数据application/octet-stream
////
//- (void)uploadFileWithUrl:(NSString *)URLStr Port:(NSString *)portStr withrequestSerializerContentType:(NSString *)requestSerializerContentType  withFileData:(NSData *)fData withFileName:(NSString *)fileNameStr withServerField:(NSString *)Field withMimeType:(NSString *)mimeTypeStr withParame:(NSDictionary *)parameDict success:(void (^)(id _Nonnull responseObject))success progress:(nullable void (^)(NSProgress * _Nonnull))uploadProgre failure:(void (^)(NSError * _Nonnull error))failure;
//
//- (NSURLSessionDataTask *)POSTBody:(NSString *)url Port:(NSString *)portStr withrequestSerializerContentType:(NSString *)requestSerializerContentType parameters:(id)parameters success:(void (^)(id _Nonnull responseObject))success failure:(void (^)(NSError * _Nonnull error))failure;
//
//
//
//- (void )POSTBody2:(NSString *)url parameters:(id)parameters success:(void (^)(id _Nonnull))success failure:(void (^)(NSError * _Nonnull))failure;
//
//
//
//
//- (NSURLSessionDataTask *)POSTBody:(NSString *)url timeout:(NSTimeInterval)tOut port:(NSString *)portStr parameters:(id)parameters success:(void (^)(id _Nonnull responseObject))success failure:(void (^)(NSError * _Nonnull error))failure;
//
//- (NSURLSessionDataTask *)POSTBody:(NSString *)url timeOut:(NSTimeInterval)tout parameters:(id)parameters success:(void (^)(id _Nonnull))success failure:(void (^)(NSError * _Nonnull))failure;
//
//
//
//- (NSURLSessionDataTask *)POSTBodyTouristsRegister:(NSString *)url withrequestSerializerContentType:(NSString *)requestSerializerContentType parameters:(id)parameters success:(void (^)(id _Nonnull responseObject))success failure:(void (^)(NSError * _Nonnull error))failure;
//
//
//
//
//// 成语发送验证码
//- (NSURLSessionDataTask *)POSTBodyWithFinalUrl:(NSString *)finalURL parameters:(id)parameters success:(void (^)(id _Nonnull))success failure:(void (^)(NSError * _Nonnull))failure;
//
//
//
//
//#pragma mark - 统一获取验证码
//- (NSURLSessionDataTask *)POSTBodyYanZhengCodeLogin:(NSString *)url parameters:(id)parameters success:(void (^)(id _Nonnull))success failure:(void (^)(NSError * _Nonnull))failure;
//
//
//
//
//
//#pragma mark 添加汇编
//- (NSURLSessionDataTask *)POSTBodyAddHuiBian:(NSString *)url withrequestSerializerContentType:(NSString *)requestSerializerContentType parameters:(id)parameters success:(void (^)(id _Nonnull responseObject))success failure:(void (^)(NSError * _Nonnull error))failure;
//
//
//#pragma mark  添加模板热度2
//- (NSURLSessionDataTask *)POSTBodyAddTmpleteHotWithUrl:(NSString *)url withrequestSerializerContentType:(NSString *)requestSerializerContentType parameters:(id)parameters success:(void (^)(id _Nonnull responseObject))success failure:(void (^)(NSError * _Nonnull error))failure;
//
//#pragma mark 触发推荐
//- (void)postRecommendListWithUrl:(NSString *)URLStr  Port:(NSString *)portStr withrequestSerializerContentType:(NSString *)requestSerializerContentType  withImagesArray:(NSArray *)images withParame:(NSDictionary *)parameDict success:(void (^)(id _Nonnull responseObject))success progress:(nullable void (^)(NSProgress * _Nonnull))uploadProgre failure:(void (^)(NSError * _Nonnull error))failure;
//
//#pragma mark CommonQuery
//- (void)postCommonQueryWithFullUrl:(NSString *)URLStr withrequestSerializerContentType:(NSString *)requestSerializerContentType  withImagesArray:(NSArray *)images withParame:(NSDictionary *)parameDict success:(void (^)(id _Nonnull responseObject))success progress:(nullable void (^)(NSProgress * _Nonnull))uploadProgre failure:(void (^)(NSError * _Nonnull error))failure;
//
//
//
//
//- (NSURLSessionDataTask *)POSTBodyFullUrl:(NSString *)finalURL port:(NSString *)portStr parameters:(id)parameters success:(void (^)(id _Nonnull responseObject))success failure:(void (^)(NSError * _Nonnull error))failure;
//
- (NSURLSessionDataTask *)POSTBodyFullUrl:(NSString *)finalURL withrequestSerializerContentType:(NSString *)requestSerializerContentType parameters:(id)parameters success:(void (^)(id _Nonnull responseObject))success failure:(void (^)(NSError * _Nonnull error))failure;
//
//
//
- (NSURLSessionDataTask *)POSTBodyFullUrl:(NSString *)finalURL parameters:(id)parameters success:(void (^)(id _Nonnull))success failure:(void (^)(NSError * _Nonnull))failure;
//
//
//
- (NSURLSessionDataTask *)POSTBodyFullUrl:(NSString *)finalURL parameters:(id)parameters contentTyp:(NSString *)contentTpStr success:(void (^)(id _Nonnull))success failure:(void (^)(NSError * _Nonnull))failure;
//
//
//- (void)POSTBodyForDataFullUrl:(NSString *)finalURL withrequestSerializerContentType:(NSString *)requestSerializerContentType parameters:(id)parameters  withMimeType:(NSString *)mimeTypeStr progress:(nullable void (^)(NSProgress * _Nonnull))uploadProgre success:(void (^)(id _Nonnull sucee))success failure:(void (^)(NSError * _Nonnull err))failure;
//
//#pragma mark - 同步到云
//- (NSURLSessionDataTask *)POSTBodyFullUrlCloud:(NSString *)finalURL parameters:(id)parameters contentTyp:(NSString *)contentTpStr success:(void (^)(id _Nonnull))success failure:(void (^)(NSError * _Nonnull))failure;
//
//#pragma mark - 订单zhf成功回调
//#pragma mark - 订单zhf成功回调
- (NSURLSessionDataTask *)POSTBodyFullUrlOrder:(NSString *)finalURL withrequestSerializerContentType:(NSString *)requestSerializerContentType parameters:(id)parameters success:(void (^)(id _Nonnull responseObject))success failure:(void (^)(NSError * _Nonnull error))failure;
//#pragma mark 把word解析成html文档
///**
// * 把word解析成html文档
// */
//- (NSURLSessionDataTask *)WordParseToHtml:(NSString *)url
//                      parameters:(id)parameters
//             httpHeaderKeyValues:(NSDictionary *)header
//       constructingBodyWithBlock:(void (^)(id <AFMultipartFormData> formData))formDataBlock
//                         success:(void (^)(id responseObject))success
//                                  failure:(void (^)(NSError *error))failure;
//
//- (void)requestDELETEWithFullURLStr:(NSString *)finalURL paramDic:(NSDictionary *)paramDic Api_port:(NSString *)portStr finish:(void(^)(id responseObject))finish enError:(void(^)(NSError *error))enError;
@end

NS_ASSUME_NONNULL_END
